package com.zhou.test.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 17:32
 */
@Data
@ApiModel(description = "添加title入参")
public class AddDto {

     @NotBlank(message = "题目不能为空")
     @ApiModelProperty("题目")
     private String title;

     @NotBlank(message = "描述不能为空")
     @ApiModelProperty("描述")
     private String desc;

}
